* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li {
  list-style: none;
}
@font-face {
  font-family: electronicFont;
  src: url(../font/DS-DIGIT.TTF);
}
body {
  background: linear-gradient(to bottom, #1B296F,#05528d);
  min-height: 100vh;
}
.container {
  max-width: 10rem;   
  height: 17.78rem;
  max-height: 17.78rem; /* 1920px / 108 ≈ 17.78rem */
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.37rem;  /* 40px / 108 ≈ 0.37rem */
  box-sizing: border-box;

}
.common-header {
  height: 1.3rem;    /* 140px / 108 ≈ 1.3rem */
  line-height: 1.3rem;
  font-weight: bold;
  text-align: center;
  font-size: 0.55rem; 
  color: rgba(255, 255, 255, 0.87);
  background: url(../images/header_bg.png) no-repeat center center;
  background-size: 100% 100%;
}
.common-card {
  width: 100%;
  background-color: rgba(101, 132, 226, 0.1);
  position: relative;
}
.common-card::before { 
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0.375rem;
  height: 0.125rem;
  border-top: 0.03rem solid #27B2FF;  /* 3px / 108 ≈ 0.03rem */
  border-left: 0.02rem solid #27B2FF; /* 2px / 108 ≈ 0.02rem */
}
.common-card::after { 
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0.375rem;
  height: 0.125rem;
  border-top: 0.03rem solid #27B2FF;
  border-right: 0.02rem solid #27B2FF;
}
/* 为底部角添加样式 - 需要在HTML中添加一个panel-footer类的元素 */
.common-card .line-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #27B2FF;
}
.common-card .line-footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0.375rem;
  height: 0.125rem;
  border-left: 0.02rem solid #27B2FF;
  border-bottom: 0.03rem solid #27B2FF;
}
.common-card .line-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.375rem;
  height: 0.125rem;
  border-right: 0.02rem solid #27B2FF;
  border-bottom: 0.03rem solid #27B2FF;
}

.data-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.4rem;
}
.data-list {
  padding:0
  margin-top: 0.04rem;     /* 4px / 108 ≈ 0.04rem */
  border: 0.02rem solid transparent;    /* 2px / 108 ≈ 0.02rem */
  border-top:0;
  border-image: linear-gradient(45deg, #4D73B2, #7BB6D5) 1;
}
.transaction-box {
  display: flex;
  flex-direction: column;
}
.transaction-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.3rem 0;
}
.transaction-item-title {
  font-size: 0.28rem;
  /* color:rgba(255, 255, 255, 0.6); */
}
.transaction-item-value {
  font-size: 0.6rem;
  font-weight: bold;
  color:rgb(186, 230, 249);

}
.other-data {
  display: flex;
  background-color:rgb(0, 131, 222,0.8);
  padding:0.12rem 0;
}
.other-data-item {
  width: 25%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 0.19rem 0;
}
.other-data-item-title {
  font-size: 0.28rem;
  color:rgba(255, 255, 255, 0.6);
}
.other-data-item-value {
  margin-top: 0.04rem;
  font-size: 0.4rem;
  font-weight: bold;
  color:rgba(255, 255, 255, 0.87);
}
.list-box {
  flex: 1;
}
.rank-list {
  margin-top: 0.04rem;     /* 4px / 108 ≈ 0.04rem */
  padding: 0 0.19rem 0.19rem 0.19rem;  /* 0 20px 20px 20px */
  border: 0.02rem solid transparent;    /* 2px / 108 ≈ 0.02rem */
  border-top:0;
  /* border-image: linear-gradient(45deg, #1B296F, #0083DE) 1; */
}
.list-header {
  display: flex;
  align-items: center;
  height: 0.93rem;    
  color: #1EB6FF;
  font-size: 0.31rem; 
  font-weight: bold;
}
.item-th {
  width: 25%;
  text-align: center;
  flex-shrink: 0;
}
.item-th:nth-child(1) {
  width: 31%;
}
.item-th:nth-child(2) {
  width: 23%;
}
.item-th:nth-child(3) {
  width: 23%;
}
.item-th:nth-child(4) {
  width: 23%;
}
.rank-item {
  flex: 1;
  display: flex;
  align-items: center;
  background-color:rgb(0, 131, 222,0.8);
  height: 0.93rem;     /* 100px / 108 ≈ 0.93rem */
  border: 0.02rem solid transparent;    /* 2px / 108 ≈ 0.02rem */
  border-top:0;
  border-right:0;
  border-image: linear-gradient(45deg, #13CBE7, #3A80D6) 1;
  margin-top: 0.19rem; /* 20px / 108 ≈ 0.19rem */
  transition: all 0.6s ease-in-out;
}
.rank-item:nth-child(odd) {
  background-color: transparent;
}

.rank-item-td {
  padding: 0 0.09rem;  /* 0 10px / 108 ≈ 0.09rem */
  width: 25%;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.26rem;  /* 28px / 108 ≈ 0.26rem */
  color: #fff;

}
.rank-item-td:nth-child(1) {
  width: 31%;
}
.rank-item-td:nth-child(2) {
  width: 23%;
}
.rank-item-td:nth-child(3) {
  width: 23%;
}
.rank-item-td:nth-child(4) {
  width: 23%;
}

.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}


.slide-out-up {
  transform: translateY(-0.5rem);
  opacity: 0;
}

.slide-in-down {
  transform: translateY(-0.3rem);
  opacity: 0;
}

.slide-in-complete {
  transform: translateY(0);
  opacity: 1;
}